Skip to content

fix(metrics): exclude active create guards - #80

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/exclude-create-guards-from-retries
Aug 22, 2026
Merged

fix(metrics): exclude active create guards#80
rldyourmnd merged 1 commit into
mainfrom
fix/exclude-create-guards-from-retries

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

Outcome

Do not classify a successful provider create duplicate-suppression guard as an active retry failure merely because its short guard deadline is still in the future.

Only records with a non-empty last_error_class contribute to deferred retry count, class breakdown, or next-retry delay. Stored-history metrics remain lossless.

Evidence

  • regression includes a future create guard and proves it stays out of deferred metrics
  • go test ./internal/providerretry ./internal/fleetobserve ./cmd/gha-fleet-observer
  • make verify
  • public GitHub-hosted CI only

@rldyourmnd
rldyourmnd merged commit 1794077 into main Aug 22, 2026
7 checks passed
@rldyourmnd
rldyourmnd deleted the fix/exclude-create-guards-from-retries branch August 22, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant